package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 功能描述: 商铺标签
 *
 * @ClassName: Activity
 * @Author: xiaoqianh丶
 * @Date: 2019-03-26 16:44
 * @Version: V1.0
 */
@Data
@Entity
@Table(name = "oo_store_label")
public class StoreLabel implements Serializable {


    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;

    /**
     * 标签id
     */
    @Column(name = "label_id", length = 64)
    private String labelId;

    /**
     * 商户id
     */
    @Column(name = "store_id", length = 64)
    private String storeId;

    /**
     * 是否显示：0、显示 1、不显示
     */
    @Column(name = "status_show", nullable = false, columnDefinition = "TINYINT default 0")
    private Integer statusShow;

    /**
     * 是否显示：0、未删除 1、删除
     */
    @Column(name = "status_remove", nullable = false, columnDefinition = "TINYINT default 0")
    private Integer statusRemove;

    @Column(name = "create_time", length = 32)
    private String createTime;

    @Column(name = "update_time", length = 32)
    private String updateTime;

}
